<include file="public@header" />
</head>
<body>
    <div class="layui-fluid js-check-wrap">
        <div class="layui-card">
            <div class="layui-card-header well">
                <div class="layui-col-xs6">
                    <h3>会议室管理</h3>
                </div>
                <div class="layui-col-xs6 text-right">
                    <a href="{:url('AdminMeeting/add')}" class="layui-btn layui-btn-normal">添加会议室</a>
                </div>
            </div>

            <div class="layui-card-body">
                <table class="layui-table" >
                    <thead>
                        <tr>
                            <th width="50">ID</th>
                            <th>列表标题</th>
                            <th>列表副标题</th>
                            <th>简介</th>
                            <th>是否需要选择会议类型</th>
                            <th>是否需要选择布置主席台</th>
                            <th>对外价格</th>
                            <th>对内价格</th>
                            <th width="100">操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        <foreach name="data" item="vo">
                        <tr>
                            <td>{$vo.id}</td>
                            <td>{$vo.list_title}</td>
                            <td>{$vo.list_subtitle}</td>
                            <td>{$vo.intro}</td>
                            <td align="center">
                                <if condition="$vo.is_type eq 1">
                                    <a data-toggle="tooltip" title="{:lang('PASS_AUDIT')}"><i class="fa fa-check"></i></a>
                                <elseif condition="$vo.is_type eq 0">
                                    <a data-toggle="tooltip" title="{:lang('NOT_PASS_AUDIT')}"><i class="fa fa-close text-danger"></i></a>
                                <else/>
                                    <a style="font-size:16px;" data-toggle="tooltip" title="{:lang('WAIT_AUDIT')}"><i class="fa fa-spinner text-warning fa-spin"></i></a>
                                </if>
                            </td>
                            <td align="center">
                                <if condition="$vo.is_layout eq 1">
                                    <a data-toggle="tooltip" title="{:lang('PASS_AUDIT')}"><i class="fa fa-check"></i></a>
                                <elseif condition="$vo.is_layout eq 0">
                                    <a data-toggle="tooltip" title="{:lang('NOT_PASS_AUDIT')}"><i class="fa fa-close text-danger"></i></a>
                                <else/>
                                    <a style="font-size:16px;" data-toggle="tooltip" title="{:lang('WAIT_AUDIT')}"><i class="fa fa-spinner text-warning fa-spin"></i></a>
                                </if>
                            </td>
                            <td>{$vo.out_price}</td>
                            <td>{$vo.in_price}</td>
                            <!-- <td align="center">
                                <if condition="$vo.status eq 2">
                                    <span class="layui-btn layui-btn-xs layui-btn-danger">已预定</span>
                                <elseif condition="$vo.status eq 1">
                                    <span class="layui-btn layui-btn-xs layui-btn-danger">待审核</span>
                                <else/>
                                    <span class="layui-btn layui-btn-xs layui-btn-normal">暂无预定</span>
                                </if>
                            </td> -->
                            <td>
                                <a href="{:url('AdminMeeting/edit',array('id'=>$vo['id']))}" class="layui-btn layui-btn-xs">{:lang('EDIT')}</a>
                                <a href="{:url('AdminMeeting/delete',array('id'=>$vo['id']))}" class="js-ajax-delete layui-btn layui-btn-danger layui-btn-xs">{:lang('DELETE')}</a>
                                
                            </td>
                        </tr>
                        </foreach>
                    </tbody>
                </table>
                <div class="pages">{$page|default=''}</div>
            </div>
        </div>        
    </div>

<include file="public@footer"/>
